package com.meitianhui.convenitenbuy.module.home.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.order.model.bean.EmptyInfo;

/**
 * Created by Administrator on 2017/11/1.
 */

public interface IntegrationContract {
    interface View extends BaseView<Presenter> {

        void payIntegrationSuccess(EmptyInfo data);

        void userIntegrationPaySuccess(EmptyInfo data);

        void onFail(int code,String msg);
    }

    interface Presenter extends BasePresenter {
        void payIntegration(String goodId, String activityId);

        void userIntegrationPay(String integration,String goodId,String activityId);

    }
}
